package com.portal.business.price.webservice;

import java.util.List;

import com.portal.business.price.PriceService;
import com.portal.business.price.dto.PriceDTO;
import com.portal.business.price.dto.PriceResultBean;
import com.portal.framework.common.PortalSearchBean;
		
public class PriceWebImpl implements PriceWebService{

	private PriceService priceService;

	public PriceResultBean findPrice(PortalSearchBean portalSearchBean){
		return this.priceService.findPrice(portalSearchBean);
	}

	public Boolean addPrice(PriceDTO priceDTO) {
		return this.priceService.addPrice(priceDTO);
	}

	public int delPrice(Integer priceId) {
		return this.priceService.delPrice(priceId);
	}

	public int delPriceBatch(String[] asIdsStr) {
		return this.priceService.delPriceBatch(asIdsStr);
	}

	public PriceDTO findByID(Integer priceId) {
		return this.priceService.findByID(priceId);
	}

	public Boolean updatePrice(PriceDTO priceDTO) {
		return this.priceService.updatePrice(priceDTO);
	}

	public boolean updatePriceFun(Integer priceId, List<Integer> fids) {
		return this.priceService.updatePriceFun(priceId,fids);
	}
	
	public PriceService getPriceService() {
		return priceService;
	}

	public void setPriceService(PriceService priceService) {
		this.priceService = priceService;
	}


}

		